﻿/*              Copyright(c) 2008 Dave Sexton              *
 * http://www.codeplex.com/DocProject                      *
 * http://www.codeplex.com/DocProject/Project/License.aspx *
 ***********************************************************/
using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;

namespace DaveSexton.DocToMaml
{
	internal interface IProjectManager : IServiceProvider
	{
		bool IsDirty { get; set; }

		string FilePath { get; }

		string Name { get; }

		bool Loaded { get; }

		bool OpenNew();

		bool Close(bool forceSave);

		bool Open();

		bool Open(string projectFileOrDirectory);

		void Save();

		bool SaveAs();

		event EventHandler IsDirtyChanged;

		event EventHandler<ProjectOpenedEventArgs> Opened;

		event EventHandler Saved;

		event CancelEventHandler Closing;

		event EventHandler Closed;
	}
}
